package com.zjsos.utils.common;

import java.util.Map;
import java.util.Properties;

public class PropertiesUtil {

    public static Properties map2properties(Map<String, String> map){
        Properties properties = new Properties();
        for(String key: map.keySet()){
            properties.put(key, map.get(key));
        }
        return properties;
    }
}
